package com.youlai.boot.modules.exhibition.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.boot.modules.exhibition.model.Exhibition;
import com.youlai.boot.modules.exhibition.model.ExhibitionForm;
import com.youlai.boot.modules.exhibition.model.ExhibitionVO;
import com.youlai.boot.modules.exhibition.model.ExhibitionPageQuery;

public interface ExhibitionService extends IService<Exhibition> {
    Page<ExhibitionVO> getExhibitionPage(ExhibitionPageQuery query);

    ExhibitionVO getExhibitionById(Long id);

    Long saveExhibition(ExhibitionForm form);

    void updateExhibition(ExhibitionForm form);

    boolean deleteExhibition(Long id);
}